import { creatAjaxAction } from '../../configs/common'
import { reqset, receive, loading } from '../reducer/loginState'
import {setCache, clearCache} from '../reducer/cache2'
import { to } from '../reducer/router'
import * as common from '../../api/common'

const login = creatAjaxAction(common.login, reqset, receive, loading)

export {login, receive, reqset, setCache, clearCache, loading, to}